package com.wdzj.common.pojo;

/**
 * ZjArtiPeizhi entity. @author MyEclipse Persistence Tools
 */

public class ZjArtiPeizhi implements java.io.Serializable {

	// Fields

	private String peizhiId;
	private Integer articleId;
	private String navitas;
	private String speciality;
	private String grade;
	private String layering;
	private Integer city;
	private Integer hanshou;
	private Integer county;
	private String ischeck;
	private String schoolrollsstate1;
	private String schoolrollsstate2;

	// Constructors

	/** default constructor */
	public ZjArtiPeizhi() {
	}

	/** full constructor */
	public ZjArtiPeizhi(Integer articleId, String navitas, String speciality,
			String grade, String layering, Integer city, Integer hanshou,
			Integer county, String ischeck, String schoolrollsstate1,
			String schoolrollsstate2) {
		this.articleId = articleId;
		this.navitas = navitas;
		this.speciality = speciality;
		this.grade = grade;
		this.layering = layering;
		this.city = city;
		this.hanshou = hanshou;
		this.county = county;
		this.ischeck = ischeck;
		this.schoolrollsstate1 = schoolrollsstate1;
		this.schoolrollsstate2 = schoolrollsstate2;
	}

	// Property accessors

	public String getPeizhiId() {
		return this.peizhiId;
	}

	public void setPeizhiId(String peizhiId) {
		this.peizhiId = peizhiId;
	}

	public Integer getArticleId() {
		return this.articleId;
	}

	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}

	public String getNavitas() {
		return this.navitas;
	}

	public void setNavitas(String navitas) {
		this.navitas = navitas;
	}

	public String getSpeciality() {
		return this.speciality;
	}

	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getLayering() {
		return this.layering;
	}

	public void setLayering(String layering) {
		this.layering = layering;
	}

	public Integer getCity() {
		return this.city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getHanshou() {
		return this.hanshou;
	}

	public void setHanshou(Integer hanshou) {
		this.hanshou = hanshou;
	}

	public Integer getCounty() {
		return this.county;
	}

	public void setCounty(Integer county) {
		this.county = county;
	}

	public String getIscheck() {
		return this.ischeck;
	}

	public void setIscheck(String ischeck) {
		this.ischeck = ischeck;
	}

	public String getSchoolrollsstate1() {
		return this.schoolrollsstate1;
	}

	public void setSchoolrollsstate1(String schoolrollsstate1) {
		this.schoolrollsstate1 = schoolrollsstate1;
	}

	public String getSchoolrollsstate2() {
		return this.schoolrollsstate2;
	}

	public void setSchoolrollsstate2(String schoolrollsstate2) {
		this.schoolrollsstate2 = schoolrollsstate2;
	}

	
	public String toString() {
		if(grade.equals("-1"))grade="";
		if(layering.equals("-1"))layering="";
		if(navitas.equals("-1"))navitas="";
		if(speciality.equals("-1"))speciality="";
		return  grade +layering+ navitas + speciality ;
	}

}